export enum RefactoringType {
  METHOD_MODIFIERS_CHANGED,
  METHOD_CHANGED,
  METHOD_ADDED,
  METHOD_DELETED,
  METHOD_RENAMED,

  CONSTRUCTOR_CHANGED,
  CONSTRUCTOR_ADDED,
  CONSTRUCTOR_DELETED,

  FIELD_ADDED,
  FIELD_DELETED,
  FIELD_RENAMED,

  TYPE_ADDED,
  TYPE_DELETED,
  TYPE_MODIFIERS_CHANGED,
}

export const colorMap: { [key: string]: string } = {
  METHOD_MODIFIERS_CHANGED: "#FF8F00",
  METHOD_CHANGED: "#f50",
  METHOD_ADDED: "#87d068",
  METHOD_DELETED: "#cd201f",
  METHOD_RENAMED: "#EE1D51",

  CONSTRUCTOR_CHANGED: "#f50",
  CONSTRUCTOR_ADDED: "#87d068",
  CONSTRUCTOR_DELETED: "#cd201f",

  FIELD_ADDED: "#87d068",
  FIELD_DELETED: "#cd201f",
  FIELD_RENAMED: "#EE1D51",
  FIELD_MODIFIERS_CHANGED: "#FF8F00",

  TYPE_ADDED: "#87d068",
  TYPE_DELETED: "#cd201f",
  TYPE_MODIFIERS_CHANGED: "#FF8F00",
};
